package com.czn.service;

import com.czn.entity.Option;
import com.czn.vo.ResponseResult;
import org.beetl.sql.core.engine.PageQuery;

import java.util.List;

/**
 * @author ChenZeNan
 * @create 2021-04-22 22:11
 */
public interface IOptionService {

    PageQuery<Option> findOptionList(Integer pageNo, Integer pageSize, String name, String certId);

    ResponseResult addOption(Option option);

    ResponseResult editOption(Option option);

    Option findOptionById(Integer id);

    ResponseResult deleteOptionById(Integer id);

    List<Option> findAll();


}
